/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistencia.controller;

import bean.BuscaChaveEstrangeira;
import bean.CondicaoCompra;
import java.util.Vector;

/**
 *
 * @author André
 */
public interface ICondicaoController {

    public boolean createCondicao(CondicaoCompra condicao);

    public Vector<CondicaoCompra> readCondicao(String descricao);

    public CondicaoCompra readCondicaoPorId(Integer codigoCondicao);

    public boolean updateCondicao(CondicaoCompra condicao);

    public boolean deleteCondicao(Integer codigoCondicao);

    public Vector<BuscaChaveEstrangeira> searchGrupoPorId(Integer codigo);

    public Vector<BuscaChaveEstrangeira> searchGrupoPorNome(String descricao);
}
